#include <stdio.h>
#include <math.h>
int main()
{
    int i, j, k, count = 1;
    printf(" there are following small exchange plans for 1 yuan note :\n");
    for (i = 0; i <= 100; i++)
        for (j = 0; j <= 100 - i; j++)
            for (k = 0; k <= 100 - i - 2 * j; k += 5)
                if (i + j + k == 100)
                    printf(count % 4 ? "%d:1*%d+2*%d+5*%d\t" : "%d:1*%d+2*%d+5*%d\n", count++, i, j / 2, k / 5);
}